import request from '@/utils/http'

// 管理计划
export const getManagementPlan = (params: any) => {
  return request.get({
    url: '/disease/manage/plan/get',
    data: params
  })
}

// 待办事项
export const getTodoList = (params: any) => {
  return request.post({
    url: '/disease/station/remind/incomplete',
    data: params
  })
}

// 分组id
export const getGroupist = (params: any) => {
  return request.get({
    url: '/disease/manage/info/pat-group',
    data: params
  })
}

export const miniLogin = (params: any) => {
  return request.get({
    url: '/patient/hp-user/mini/login',
    data: params
  })
}
export const getPatient = (params: any) => {
  return request.post({
    url: '/patient/hp-patient/get_patient',
    data: params
  })
}
// 订阅消息成功请求
export const subscribeMessage = (params: any) => {
  return request.post({
    url: '/api/wx/message/subscribe',
    data: params
  })
}
